package com.community.backend.mapper;

import com.community.backend.pojo.Repair;
import com.community.backend.pojo.dto.RepairQueryDTO;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RepairMapper {

    Page<Repair> pageQuery(RepairQueryDTO repairQueryDTO);

    void insert(Repair repair);

    void update(Repair repair);

    void deleteById(Integer id);

}
